<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
	.KEYW {color: #933;}
	.COMM {color: #bbb; font-style: italic;}
	.NUMB {color: #393;}
	.STRN {color: #393;}
	.REGX {color: #339;}
	.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
	</style></head><body><pre><span class='line'>  1</span> <span class="COMM">/**
<span class='line'>  2</span>  * Methods for protocol tunneling..
<span class='line'>  3</span>  *
<span class='line'>  4</span>  * The tunnel methods are used to send blocks of binary data - which
<span class='line'>  5</span>  *   can be serialised AMQP methods or other protocol frames - between
<span class='line'>  6</span>  *   AMQP peers.
<span class='line'>  7</span>  *
<span class='line'>  8</span>  * @name Tunnel
<span class='line'>  9</span>  * @exports Tunnel as api.Tunnel
<span class='line'> 10</span>  * @class
<span class='line'> 11</span>  */</span><span class="WHIT">
<span class='line'> 12</span> 
<span class='line'> 13</span> 
<span class='line'> 14</span> </span><span class="COMM">/**
<span class='line'> 15</span>  * Message header field table
<span class='line'> 16</span>  *
<span class='line'> 17</span>  * @name Tunnel#headers
<span class='line'> 18</span>  * @field
<span class='line'> 19</span>  * @type Object
<span class='line'> 20</span>  */</span><span class="WHIT">
<span class='line'> 21</span> </span><span class="COMM">/**
<span class='line'> 22</span>  * The identity of the tunnelling proxy
<span class='line'> 23</span>  *
<span class='line'> 24</span>  * @name Tunnel#proxyName
<span class='line'> 25</span>  * @field
<span class='line'> 26</span>  * @type String
<span class='line'> 27</span>  */</span><span class="WHIT">
<span class='line'> 28</span> </span><span class="COMM">/**
<span class='line'> 29</span>  * The name or type of the message being tunnelled
<span class='line'> 30</span>  *
<span class='line'> 31</span>  * @name Tunnel#dataName
<span class='line'> 32</span>  * @field
<span class='line'> 33</span>  * @type String
<span class='line'> 34</span>  */</span><span class="WHIT">
<span class='line'> 35</span> </span><span class="COMM">/**
<span class='line'> 36</span>  * The message durability indicator
<span class='line'> 37</span>  *
<span class='line'> 38</span>  * @name Tunnel#durable
<span class='line'> 39</span>  * @field
<span class='line'> 40</span>  * @type Number
<span class='line'> 41</span>  */</span><span class="WHIT">
<span class='line'> 42</span> </span><span class="COMM">/**
<span class='line'> 43</span>  * The message broadcast mode
<span class='line'> 44</span>  *
<span class='line'> 45</span>  * @name Tunnel#broadcast
<span class='line'> 46</span>  * @field
<span class='line'> 47</span>  * @type Number
<span class='line'> 48</span>  */</span><span class="WHIT">
<span class='line'> 49</span> 
<span class='line'> 50</span> 
<span class='line'> 51</span> </span><span class="COMM">/**
<span class='line'> 52</span>  * Sends a tunnelled method.
<span class='line'> 53</span>  *
<span class='line'> 54</span>  * This method tunnels a block of binary data, which can be an
<span class='line'> 55</span>  *     encoded AMQP method or other data.  The binary data is sent
<span class='line'> 56</span>  *     as the content for the Tunnel.Request method.
<span class='line'> 57</span>  *
<span class='line'> 58</span>  * @name Tunnel#request
<span class='line'> 59</span>  * @function
<span class='line'> 60</span>  * @param {Object} metaData This field table holds arbitrary meta-data that the sender needs
<span class='line'> 61</span>  *     to pass to the recipient.
<span class='line'> 62</span>  */</span><span class="WHIT">
<span class='line'> 63</span> 
<span class='line'> 64</span> </span></pre></body></html>